package com.ifdemo;

import java.util.Scanner;

public class Demo3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            System.out.println("请输入你的成绩");
            int socer = sc.nextInt();
            if (socer > 100) {
                System.out.println("你给自己出附加题了？");
            }else if(socer >= 90  ){
                System.out.println("优秀");
            }else if(socer >= 80 ){
                System.out.println("良好");
            }else if(socer >= 70  ){
                System.out.println("中等");
            }else if(socer >= 60 ) {
                System.out.println("及格");
            }else if (socer >= 0 ){
                System.out.println("你该努力了");
            }else{
                System.out.println("你的成绩值得我们思考");
                System.out.println("-----------");
            }

        }
    }
}

